\(\int \frac {A+B \log (\frac {e (a+b x)}{c+d x})}{(f+g x)^5} \, dx\) [239]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [B] (verified)
   Fricas [F(-1)]
   Sympy [F(-1)]
   Maxima [B] (verification not implemented)
   Giac [B] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 27, antiderivative size = 379 \[ \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(f+g x)^5} \, dx=-\frac {B (b c-a d)}{12 (b f-a g) (d f-c g) (f+g x)^3}-\frac {B (b c-a d) (2 b d f-b c g-a d g)}{8 (b f-a g)^2 (d f-c g)^2 (f+g x)^2}-\frac {B (b c-a d) \left (a^2 d^2 g^2-a b d g (3 d f-c g)+b^2 \left (3 d^2 f^2-3 c d f g+c^2 g^2\right )\right )}{4 (b f-a g)^3 (d f-c g)^3 (f+g x)}+\frac {b^4 B \log (a+b x)}{4 g (b f-a g)^4}-\frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{4 g (f+g x)^4}-\frac {B d^4 \log (c+d x)}{4 g (d f-c g)^4}-\frac {B (b c-a d) (2 b d f-b c g-a d g) \left (2 a b d^2 f g-a^2 d^2 g^2-b^2 \left (2 d^2 f^2-2 c d f g+c^2 g^2\right )\right ) \log (f+g x)}{4 (b f-a g)^4 (d f-c g)^4} \]

[Out]

-1/12*B*(-a*d+b*c)/(-a*g+b*f)/(-c*g+d*f)/(g*x+f)^3-1/8*B*(-a*d+b*c)*(-a*d*g-b*c*g+2*b*d*f)/(-a*g+b*f)^2/(-c*g+
d*f)^2/(g*x+f)^2-1/4*B*(-a*d+b*c)*(a^2*d^2*g^2-a*b*d*g*(-c*g+3*d*f)+b^2*(c^2*g^2-3*c*d*f*g+3*d^2*f^2))/(-a*g+b
*f)^3/(-c*g+d*f)^3/(g*x+f)+1/4*b^4*B*ln(b*x+a)/g/(-a*g+b*f)^4+1/4*(-A-B*ln(e*(b*x+a)/(d*x+c)))/g/(g*x+f)^4-1/4
*B*d^4*ln(d*x+c)/g/(-c*g+d*f)^4-1/4*B*(-a*d+b*c)*(-a*d*g-b*c*g+2*b*d*f)*(2*a*b*d^2*f*g-a^2*d^2*g^2-b^2*(c^2*g^
2-2*c*d*f*g+2*d^2*f^2))*ln(g*x+f)/(-a*g+b*f)^4/(-c*g+d*f)^4

Rubi [A] (verified)

Time = 0.33 (sec) , antiderivative size = 379, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {2548, 84} \[ \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(f+g x)^5} \, dx=-\frac {B (b c-a d) \left (a^2 d^2 g^2-a b d g (3 d f-c g)+b^2 \left (c^2 g^2-3 c d f g+3 d^2 f^2\right )\right )}{4 (f+g x) (b f-a g)^3 (d f-c g)^3}-\frac {B (b c-a d) \log (f+g x) (-a d g-b c g+2 b d f) \left (-a^2 d^2 g^2+2 a b d^2 f g-\left (b^2 \left (c^2 g^2-2 c d f g+2 d^2 f^2\right )\right )\right )}{4 (b f-a g)^4 (d f-c g)^4}-\frac {B \log \left (\frac {e (a+b x)}{c+d x}\right )+A}{4 g (f+g x)^4}+\frac {b^4 B \log (a+b x)}{4 g (b f-a g)^4}-\frac {B (b c-a d) (-a d g-b c g+2 b d f)}{8 (f+g x)^2 (b f-a g)^2 (d f-c g)^2}-\frac {B (b c-a d)}{12 (f+g x)^3 (b f-a g) (d f-c g)}-\frac {B d^4 \log (c+d x)}{4 g (d f-c g)^4} \]

[In]

Int[(A + B*Log[(e*(a + b*x))/(c + d*x)])/(f + g*x)^5,x]

[Out]

-1/12*(B*(b*c - a*d))/((b*f - a*g)*(d*f - c*g)*(f + g*x)^3) - (B*(b*c - a*d)*(2*b*d*f - b*c*g - a*d*g))/(8*(b*
f - a*g)^2*(d*f - c*g)^2*(f + g*x)^2) - (B*(b*c - a*d)*(a^2*d^2*g^2 - a*b*d*g*(3*d*f - c*g) + b^2*(3*d^2*f^2 -
 3*c*d*f*g + c^2*g^2)))/(4*(b*f - a*g)^3*(d*f - c*g)^3*(f + g*x)) + (b^4*B*Log[a + b*x])/(4*g*(b*f - a*g)^4) -
 (A + B*Log[(e*(a + b*x))/(c + d*x)])/(4*g*(f + g*x)^4) - (B*d^4*Log[c + d*x])/(4*g*(d*f - c*g)^4) - (B*(b*c -
 a*d)*(2*b*d*f - b*c*g - a*d*g)*(2*a*b*d^2*f*g - a^2*d^2*g^2 - b^2*(2*d^2*f^2 - 2*c*d*f*g + c^2*g^2))*Log[f +
g*x])/(4*(b*f - a*g)^4*(d*f - c*g)^4)

Rule 84

Int[((e_.) + (f_.)*(x_))^(p_.)/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Int[ExpandIntegrand[(
e + f*x)^p/((a + b*x)*(c + d*x)), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && IntegerQ[p]

Rule 2548

Int[((A_.) + Log[(e_.)*((a_.) + (b_.)*(x_))^(n_.)*((c_.) + (d_.)*(x_))^(mn_)]*(B_.))*((f_.) + (g_.)*(x_))^(m_.
), x_Symbol] :> Simp[(f + g*x)^(m + 1)*((A + B*Log[e*((a + b*x)^n/(c + d*x)^n)])/(g*(m + 1))), x] - Dist[B*n*(
(b*c - a*d)/(g*(m + 1))), Int[(f + g*x)^(m + 1)/((a + b*x)*(c + d*x)), x], x] /; FreeQ[{a, b, c, d, e, f, g, A
, B, m, n}, x] && EqQ[n + mn, 0] && NeQ[b*c - a*d, 0] && NeQ[m, -1] &&  !(EqQ[m, -2] && IntegerQ[n])

Rubi steps \begin{align*} \text {integral}& = -\frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{4 g (f+g x)^4}+\frac {(B (b c-a d)) \int \frac {1}{(a+b x) (c+d x) (f+g x)^4} \, dx}{4 g} \\ & = -\frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{4 g (f+g x)^4}+\frac {(B (b c-a d)) \int \left (\frac {b^5}{(b c-a d) (b f-a g)^4 (a+b x)}-\frac {d^5}{(b c-a d) (-d f+c g)^4 (c+d x)}+\frac {g^2}{(b f-a g) (d f-c g) (f+g x)^4}-\frac {g^2 (-2 b d f+b c g+a d g)}{(b f-a g)^2 (d f-c g)^2 (f+g x)^3}+\frac {g^2 \left (a^2 d^2 g^2-a b d g (3 d f-c g)+b^2 \left (3 d^2 f^2-3 c d f g+c^2 g^2\right )\right )}{(b f-a g)^3 (d f-c g)^3 (f+g x)^2}+\frac {g^2 (2 b d f-b c g-a d g) \left (2 b^2 d^2 f^2-2 b^2 c d f g-2 a b d^2 f g+b^2 c^2 g^2+a^2 d^2 g^2\right )}{(b f-a g)^4 (d f-c g)^4 (f+g x)}\right ) \, dx}{4 g} \\ & = -\frac {B (b c-a d)}{12 (b f-a g) (d f-c g) (f+g x)^3}-\frac {B (b c-a d) (2 b d f-b c g-a d g)}{8 (b f-a g)^2 (d f-c g)^2 (f+g x)^2}-\frac {B (b c-a d) \left (a^2 d^2 g^2-a b d g (3 d f-c g)+b^2 \left (3 d^2 f^2-3 c d f g+c^2 g^2\right )\right )}{4 (b f-a g)^3 (d f-c g)^3 (f+g x)}+\frac {b^4 B \log (a+b x)}{4 g (b f-a g)^4}-\frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{4 g (f+g x)^4}-\frac {B d^4 \log (c+d x)}{4 g (d f-c g)^4}-\frac {B (b c-a d) (2 b d f-b c g-a d g) \left (2 a b d^2 f g-a^2 d^2 g^2-b^2 \left (2 d^2 f^2-2 c d f g+c^2 g^2\right )\right ) \log (f+g x)}{4 (b f-a g)^4 (d f-c g)^4} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.53 (sec) , antiderivative size = 355, normalized size of antiderivative = 0.94 \[ \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(f+g x)^5} \, dx=\frac {-\frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(f+g x)^4}+B (b c-a d) \left (-\frac {g}{3 (b f-a g) (d f-c g) (f+g x)^3}+\frac {g (-2 b d f+b c g+a d g)}{2 (b f-a g)^2 (d f-c g)^2 (f+g x)^2}-\frac {g \left (a^2 d^2 g^2+a b d g (-3 d f+c g)+b^2 \left (3 d^2 f^2-3 c d f g+c^2 g^2\right )\right )}{(b f-a g)^3 (d f-c g)^3 (f+g x)}+\frac {b^4 \log (a+b x)}{(b c-a d) (b f-a g)^4}-\frac {d^4 \log (c+d x)}{(b c-a d) (d f-c g)^4}-\frac {g (-2 b d f+b c g+a d g) \left (-2 a b d^2 f g+a^2 d^2 g^2+b^2 \left (2 d^2 f^2-2 c d f g+c^2 g^2\right )\right ) \log (f+g x)}{(b f-a g)^4 (d f-c g)^4}\right )}{4 g} \]

[In]

Integrate[(A + B*Log[(e*(a + b*x))/(c + d*x)])/(f + g*x)^5,x]

[Out]

(-((A + B*Log[(e*(a + b*x))/(c + d*x)])/(f + g*x)^4) + B*(b*c - a*d)*(-1/3*g/((b*f - a*g)*(d*f - c*g)*(f + g*x
)^3) + (g*(-2*b*d*f + b*c*g + a*d*g))/(2*(b*f - a*g)^2*(d*f - c*g)^2*(f + g*x)^2) - (g*(a^2*d^2*g^2 + a*b*d*g*
(-3*d*f + c*g) + b^2*(3*d^2*f^2 - 3*c*d*f*g + c^2*g^2)))/((b*f - a*g)^3*(d*f - c*g)^3*(f + g*x)) + (b^4*Log[a
+ b*x])/((b*c - a*d)*(b*f - a*g)^4) - (d^4*Log[c + d*x])/((b*c - a*d)*(d*f - c*g)^4) - (g*(-2*b*d*f + b*c*g +
a*d*g)*(-2*a*b*d^2*f*g + a^2*d^2*g^2 + b^2*(2*d^2*f^2 - 2*c*d*f*g + c^2*g^2))*Log[f + g*x])/((b*f - a*g)^4*(d*
f - c*g)^4)))/(4*g)

Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(2849\) vs. \(2(368)=736\).

Time = 6.65 (sec) , antiderivative size = 2850, normalized size of antiderivative = 7.52

method result size
parts \(\text {Expression too large to display}\) \(2850\)
derivativedivides \(\text {Expression too large to display}\) \(3309\)
default \(\text {Expression too large to display}\) \(3309\)
risch \(\text {Expression too large to display}\) \(4450\)
parallelrisch \(\text {Expression too large to display}\) \(5539\)

[In]

int((A+B*ln(e*(b*x+a)/(d*x+c)))/(g*x+f)^5,x,method=_RETURNVERBOSE)

[Out]

-1/4*A/(g*x+f)^4/g-B/d^2*(a*d-b*c)*e*(-3*d^4*e*(a*d-b*c)*g/(c*g-d*f)^3*(-1/2/(a*g-b*f)^2/e^2*(1/(c*g-d*f)*ln(c
*g*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-d*f*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-a*e*g+b*e*f)+e*(a*g-b*f)/(c*g-d*f)/(c*g*(b*
e/d+(a*d-b*c)*e/d/(d*x+c))-d*f*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-a*e*g+b*e*f))+1/2*ln(b*e/d+(a*d-b*c)*e/d/(d*x+c))
*(c*g*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-d*f*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-2*a*e*g+2*b*e*f)*(b*e/d+(a*d-b*c)*e/d/(d
*x+c))/(c*g*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-d*f*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-a*e*g+b*e*f)^2/(a*g-b*f)^2/e^2)-3*
d^3*e^2*g^2*(a^2*d^2-2*a*b*c*d+b^2*c^2)/(c*g-d*f)^3*(-1/3/(a*g-b*f)/(a^2*g^2-2*a*b*f*g+b^2*f^2)/e^3*(1/2*e^2*(
a^2*g^2-2*a*b*f*g+b^2*f^2)/(c*g-d*f)/(c*g*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-d*f*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-a*e*
g+b*e*f)^2-1/(c*g-d*f)*ln(c*g*(b*e/d+(a*d-b*c)*e/d/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*e^2*g^3*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-6*a^2*d*e^2*f*g^2*(b*e/d+(a*d-b*c)*e/
d/(d*x+c))-12*a*b*c*e^2*f*g^2*(b*e/d+(a*d-b*c)*e/d/(d*x+c))+12*a*b*d*e^2*f^2*g*(b*e/d+(a*d-b*c)*e/d/(d*x+c))+6
*b^2*c*e^2*f^2*g*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-6*b^2*d*e^2*f^3*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-4*a^3*e^3*g^3+12*
a^2*b*e^3*f*g^2-12*a*b^2*e^3*f^2*g+4*b^3*e^3*f^3)/(c*g*(b*e/d+(a*d-b*c)*e/d/(d*x+c))-d*f*(b*e/d+(a*d-b*c)*e/d/
(d*x+c))-a*e*g+b*e*f)^4/(a*g-b*f)^2/(a^2*g^2-2*a*b*f*g+b^2*f^2)/e^4))

Fricas [F(-1)]

Timed out. \[ \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(f+g x)^5} \, dx=\text {Timed out} \]

[In]

integrate((A+B*log(e*(b*x+a)/(d*x+c)))/(g*x+f)^5,x, algorithm="fricas")

[Out]

Timed out

Sympy [F(-1)]

Timed out. \[ \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(f+g x)^5} \, dx=\text {Timed out} \]

[In]

integrate((A+B*ln(e*(b*x+a)/(d*x+c)))/(g*x+f)**5,x)

[Out]

Timed out

Maxima [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 1757 vs. \(2 (365) = 730\).

Time = 0.33 (sec) , antiderivative size = 1757, normalized size of antiderivative = 4.64 \[ \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(f+g x)^5} \, dx=\text {Too large to display} \]

[In]

integrate((A+B*log(e*(b*x+a)/(d*x+c)))/(g*x+f)^5,x, algorithm="maxima")

[Out]

1/24*(6*b^4*log(b*x + a)/(b^4*f^4*g - 4*a*b^3*f^3*g^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+ 3*a*b^2*c*d^2 + a
^2*b*d^3)*f^6*g^3 - (b^3*c^3 + 9*a*b^2*c^2*d + 9*a^2*b*c*d^2 + a^3*d^3)*f^5*g^4 + 3*(a*b^2*c^3 + 3*a^2*b*c^2*d
 + a^3*c*d^2)*f^4*g^5 - 3*(a^2*b*c^3 + a^3*c^2*d)*f^3*g^6)*x) - 6*log(b*e*x/(d*x + c) + a*e/(d*x + c))/(g^5*x^
4 + 4*f*g^4*x^3 + 6*f^2*g^3*x^2 + 4*f^3*g^2*x + f^4*g))*B - 1/4*A/(g^5*x^4 + 4*f*g^4*x^3 + 6*f^2*g^3*x^2 + 4*f
^3*g^2*x + f^4*g)

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 20791 vs. \(2 (365) = 730\).

Time = 0.99 (sec) , antiderivative size = 20791, normalized size of antiderivative = 54.86 \[ \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(f+g x)^5} \, dx=\text {Too large to display} \]

[In]

integrate((A+B*log(e*(b*x+a)/(d*x+c)))/(g*x+f)^5,x, algorithm="giac")

[Out]

1/24*(6*(4*B*b^5*c^2*d^3*e*f^3 - 8*B*a*b^4*c*d^4*e*f^3 + 4*B*a^2*b^3*d^5*e*f^3 - 6*B*b^5*c^3*d^2*e*f^2*g + 6*B
*a*b^4*c^2*d^3*e*f^2*g + 6*B*a^2*b^3*c*d^4*e*f^2*g - 6*B*a^3*b^2*d^5*e*f^2*g + 4*B*b^5*c^4*d*e*f*g^2 - 4*B*a*b
^4*c^3*d^2*e*f*g^2 - 4*B*a^3*b^2*c*d^4*e*f*g^2 + 4*B*a^4*b*d^5*e*f*g^2 - B*b^5*c^5*e*g^3 + B*a*b^4*c^4*d*e*g^3
 + B*a^4*b*c*d^4*e*g^3 - B*a^5*d^5*e*g^3)*log(-b*e*f + a*e*g + (b*e*x + a*e)*d*f/(d*x + c) - (b*e*x + a*e)*c*g
/(d*x + c))/(b^4*d^4*f^8 - 4*b^4*c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x + a*e)*B*a^2
*b^2*d^6*e^4*f^3/(d*x + c) + 24*(b*e*x + a*e)*B*b^4*c^3*d^3*e^4*f^2*g/(d*x + c) - 36*(b*e*x + a*e)*B*a*b^3*c^2
*d^4*e^4*f^2*g/(d*x + c) + 12*(b*e*x + a*e)*B*a^3*b*d^6*e^4*f^2*g/(d*x + c) - 16*(b*e*x + a*e)*B*b^4*c^4*d^2*e
^4*f*g^2/(d*x + c) + 16*(b*e*x + a*e)*B*a*b^3*c^3*d^3*e^4*f*g^2/(d*x + c) + 12*(b*e*x + a*e)*B*a^2*b^2*c^2*d^4
*e^4*f*g^2/(d*x + c) - 8*(b*e*x + a*e)*B*a^3*b*c*d^5*e^4*f*g^2/(d*x + c) - 4*(b*e*x + a*e)*B*a^4*d^6*e^4*f*g^2
/(d*x + c) + 4*(b*e*x + a*e)*B*b^4*c^5*d*e^4*g^3/(d*x + c) - 4*(b*e*x + a*e)*B*a*b^3*c^4*d^2*e^4*g^3/(d*x + c)
 - 4*(b*e*x + a*e)*B*a^3*b*c^2*d^4*e^4*g^3/(d*x + c) + 4*(b*e*x + a*e)*B*a^4*c*d^5*e^4*g^3/(d*x + c) + 12*(b*e
*x + a*e)^2*B*b^3*c^2*d^5*e^3*f^3/(d*x + c)^2 - 24*(b*e*x + a*e)^2*B*a*b^2*c*d^6*e^3*f^3/(d*x + c)^2 + 12*(b*e
*x + a*e)^2*B*a^2*b*d^7*e^3*f^3/(d*x + c)^2 - 30*(b*e*x + a*e)^2*B*b^3*c^3*d^4*e^3*f^2*g/(d*x + c)^2 + 54*(b*e
*x + a*e)^2*B*a*b^2*c^2*d^5*e^3*f^2*g/(d*x + c)^2 - 18*(b*e*x + a*e)^2*B*a^2*b*c*d^6*e^3*f^2*g/(d*x + c)^2 - 6
*(b*e*x + a*e)^2*B*a^3*d^7*e^3*f^2*g/(d*x + c)^2 + 24*(b*e*x + a*e)^2*B*b^3*c^4*d^3*e^3*f*g^2/(d*x + c)^2 - 36
*(b*e*x + a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e
*x + a*e)*b^3*c^4*d*e^3*f^4*g^4/(d*x + c) - 120*(b*e*x + a*e)*a*b^2*c^3*d^2*e^3*f^4*g^4/(d*x + c) - 120*(b*e*x
 + a*e)*a^2*b*c^2*d^3*e^3*f^4*g^4/(d*x + c) - 20*(b*e*x + a*e)*a^3*c*d^4*e^3*f^4*g^4/(d*x + c) + 4*(b*e*x + a*
e)*b^3*c^5*e^3*f^3*g^5/(d*x + c) + 60*(b*e*x + a*e)*a*b^2*c^4*d*e^3*f^3*g^5/(d*x + c) + 120*(b*e*x + a*e)*a^2*
b*c^3*d^2*e^3*f^3*g^5/(d*x + c) + 40*(b*e*x + a*e)*a^3*c^2*d^3*e^3*f^3*g^5/(d*x + c) - 12*(b*e*x + a*e)*a*b^2*
c^5*e^3*f^2*g^6/(d*x + c) - 60*(b*e*x + a*e)*a^2*b*c^4*d*e^3*f^2*g^6/(d*x + c) - 40*(b*e*x + a*e)*a^3*c^3*d^2*
e^3*f^2*g^6/(d*x + c) + 12*(b*e*x + a*e)*a^2*b*c^5*e^3*f*g^7/(d*x + c) + 20*(b*e*x + a*e)*a^3*c^4*d*e^3*f*g^7/
(d*x + c) - 4*(b*e*x + a*e)*a^3*c^5*e^3*g^8/(d*x + c) + 6*(b*e*x + a*e)^2*b^2*d^6*e^2*f^8/(d*x + c)^2 - 36*(b*
e*x + a*e)^2*b^2*c*d^5*e^2*f^7*g/(d*x + c)^2 - 12*(b*e*x + a*e)^2*a*b*d^6*e^2*f^7*g/(d*x + c)^2 + 90*(b*e*x +
a*e)^2*b^2*c^2*d^4*e^2*f^6*g^2/(d*x + c)^2 + 72*(b*e*x + a*e)^2*a*b*c*d^5*e^2*f^6*g^2/(d*x + c)^2 + 6*(b*e*x +
 a*e)^2*a^2*d^6*e^2*f^6*g^2/(d*x + c)^2 - 120*(b*e*x + a*e)^2*b^2*c^3*d^3*e^2*f^5*g^3/(d*x + c)^2 - 180*(b*e*x
 + a*e)^2*a*b*c^2*d^4*e^2*f^5*g^3/(d*x + c)^2 - 36*(b*e*x + a*e)^2*a^2*c*d^5*e^2*f^5*g^3/(d*x + c)^2 + 90*(b*e
*x + a*e)^2*b^2*c^4*d^2*e^2*f^4*g^4/(d*x + c)^2 + 240*(b*e*x + a*e)^2*a*b*c^3*d^3*e^2*f^4*g^4/(d*x + c)^2 + 90
*(b*e*x + a*e)^2*a^2*c^2*d^4*e^2*f^4*g^4/(d*x + c)^2 - 36*(b*e*x + a*e)^2*b^2*c^5*d*e^2*f^3*g^5/(d*x + c)^2 -
180*(b*e*x + a*e)^2*a*b*c^4*d^2*e^2*f^3*g^5/(d*x + c)^2 - 120*(b*e*x + a*e)^2*a^2*c^3*d^3*e^2*f^3*g^5/(d*x + c
)^2 + 6*(b*e*x + a*e)^2*b^2*c^6*e^2*f^2*g^6/(d*x + c)^2 + 72*(b*e*x + a*e)^2*a*b*c^5*d*e^2*f^2*g^6/(d*x + c)^2
 + 90*(b*e*x + a*e)^2*a^2*c^4*d^2*e^2*f^2*g^6/(d*x + c)^2 - 12*(b*e*x + a*e)^2*a*b*c^6*e^2*f*g^7/(d*x + c)^2 -
 36*(b*e*x + a*e)^2*a^2*c^5*d*e^2*f*g^7/(d*x + c)^2 + 6*(b*e*x + a*e)^2*a^2*c^6*e^2*g^8/(d*x + c)^2 - 4*(b*e*x
 + a*e)^3*b*d^7*e*f^8/(d*x + c)^3 + 28*(b*e*x + a*e)^3*b*c*d^6*e*f^7*g/(d*x + c)^3 + 4*(b*e*x + a*e)^3*a*d^7*e
*f^7*g/(d*x + c)^3 - 84*(b*e*x + a*e)^3*b*c^2*d^5*e*f^6*g^2/(d*x + c)^3 - 28*(b*e*x + a*e)^3*a*c*d^6*e*f^6*g^2
/(d*x + c)^3 + 140*(b*e*x + a*e)^3*b*c^3*d^4*e*f^5*g^3/(d*x + c)^3 + 84*(b*e*x + a*e)^3*a*c^2*d^5*e*f^5*g^3/(d
*x + c)^3 - 140*(b*e*x + a*e)^3*b*c^4*d^3*e*f^4*g^4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e*x + a*e)*B*a^3*b^4*d^6*
e^4*f^5*g/(d*x + c) - 96*(b*e*x + a*e)*A*b^7*c^4*d^2*e^4*f^4*g^2/(d*x + c) + 204*(b*e*x + a*e)*B*b^7*c^4*d^2*e
^4*f^4*g^2/(d*x + c) - 336*(b*e*x + a*e)*A*a*b^6*c^3*d^3*e^4*f^4*g^2/(d*x + c) - 276*(b*e*x + a*e)*B*a*b^6*c^3
*d^3*e^4*f^4*g^2/(d*x + c) + 504*(b*e*x + a*e)*A*a^2*b^5*c^2*d^4*e^4*f^4*g^2/(d*x + c) - 396*(b*e*x + a*e)*B*a
^2*b^5*c^2*d^4*e^4*f^4*g^2/(d*x + c) + 384*(b*e*x + a*e)*A*a^3*b^4*c*d^5*e^4*f^4*g^2/(d*x + c) + 804*(b*e*x +
a*e)*B*a^3*b^4*c*d^5*e^4*f^4*g^2/(d*x + c) - 456*(b*e*x + a*e)*A*a^4*b^3*d^6*e^4*f^4*g^2/(d*x + c) - 336*(b*e*
x + a*e)*B*a^4*b^3*d^6*e^4*f^4*g^2/(d*x + c) + 24*(b*e*x + a*e)*A*b^7*c^5*d*e^4*f^3*g^3/(d*x + c) - 122*(b*e*x
 + a*e)*B*b^7*c^5*d*e^4*f^3*g^3/(d*x + c) + 264*(b*e*x + a*e)*A*a*b^6*c^4*d^2*e^4*f^3*g^3/(d*x + c) - 206*(b*e
*x + a*e)*B*a*b^6*c^4*d^2*e^4*f^3*g^3/(d*x + c) + 144*(b*e*x + a*e)*A*a^2*b^5*c^3*d^3*e^4*f^3*g^3/(d*x + c) +
964*(b*e*x + a*e)*B*a^2*b^5*c^3*d^3*e^4*f^3*g^3/(d*x + c) - 816*(b*e*x + a*e)*A*a^3*b^4*c^2*d^4*e^4*f^3*g^3/(d
*x + c) - 436*(b*e*x + a*e)*B*a^3*b^4*c^2*d^4*e^4*f^3*g^3/(d*x + c) + 24*(b*e*x + a*e)*A*a^4*b^3*c*d^5*e^4*f^3
*g^3/(d*x + c) - 586*(b*e*x + a*e)*B*a^4*b^3*c*d^5*e^4*f^3*g^3/(d*x + c) + 360*(b*e*x + a*e)*A*a^5*b^2*d^6*e^4
*f^3*g^3/(d*x + c) + 386*(b*e*x + a*e)*B*a^5*b^2*d^6*e^4*f^3*g^3/(d*x + c) + 26*(b*e*x + a*e)*B*b^7*c^6*e^4*f^
2*g^4/(d*x + c) - 72*(b*e*x + a*e)*A*a*b^6*c^5*d*e^4*f^2*g^4/(d*x + c) + 210*(b*e*x + a*e)*B*a*b^6*c^5*d*e^4*f
^2*g^4/(d*x + c) - 216*(b*e*x + a*e)*A*a^2*b^5*c^4*d^2*e^4*f^2*g^4/(d*x + c) - 216*(b*e*x + a*e)*B*a^2*b^5*c^4
*d^2*e^4*f^2*g^4/(d*x + c) + 144*(b*e*x + a*e)*A*a^3*b^4*c^3*d^3*e^4*f^2*g^4/(d*x + c) - 676*(b*e*x + a*e)*B*a
^3*b^4*c^3*d^3*e^4*f^2*g^4/(d*x + c) + 504*(b*e*x + a*e)*A*a^4*b^3*c^2*d^4*e^4*f^2*g^4/(d*x + c) + 834*(b*e*x
+ a*e)*B*a^4*b^3*c^2*d^4*e^4*f^2*g^4/(d*x + c) - 216*(b*e*x + a*e)*A*a^5*b^2*c*d^5*e^4*f^2*g^4/(d*x + c) + 18*
(b*e*x + a*e)*B*a^5*b^2*c*d^5*e^4*f^2*g^4/(d*x + c) - 144*(b*e*x + a*e)*A*a^6*b*d^6*e^4*f^2*g^4/(d*x + c) - 19
6*(b*e*x + a*e)*B*a^6*b*d^6*e^4*f^2*g^4/(d*x + c) - 52*(b*e*x + a*e)*B*a*b^6*c^6*e^4*f*g^5/(d*x + c) + 72*(b*e
*x + a*e)*A*a^2*b^5*c^5*d*e^4*f*g^5/(d*x + c) - 54*(b*e*x + a*e)*B*a^2*b^5*c^5*d*e^4*f*g^5/(d*x + c) + 24*(b*e
*x + a*e)*A*a^3*b^4*c^4*d^2*e^4*f*g^5/(d*x + c) + 234*(b*e*x + a*e)*B*a^3*b^4*c^4*d^2*e^4*f*g^5/(d*x + c) - 96
*(b*e*x + a*e)*A*a^4*b^3*c^3*d^3*e^4*f*g^5/(d*x + c) + 104*(b*e*x + a*e)*B*a^4*b^3*c^3*d^3*e^4*f*g^5/(d*x + c)
 - 144*(b*e*x + a*e)*A*a^5*b^2*c^2*d^4*e^4*f*g^5/(d*x + c) - 396*(b*e*x + a*e)*B*a^5*b^2*c^2*d^4*e^4*f*g^5/(d*
x + c) + 120*(b*e*x + a*e)*A*a^6*b*c*d^5*e^4*f*g^5/(d*x + c) + 126*(b*e*x + a*e)*B*a^6*b*c*d^5*e^4*f*g^5/(d*x
+ c) + 24*(b*e*x + a*e)*A*a^7*d^6*e^4*f*g^5/(d*x + c) + 38*(b*e*x + a*e)*B*a^7*d^6*e^4*f*g^5/(d*x + c) + 26*(b
*e*x + a*e)*B*a^2*b^5*c^6*e^4*g^6/(d*x + c) - 24*(b*e*x + a*e)*A*a^3*b^4*c^5*d*e^4*g^6/(d*x + c) - 34*(b*e*x +
 a*e)*B*a^3*b^4*c^5*d*e^4*g^6/(d*x + c) + 24*(b*e*x + a*e)*A*a^4*b^3*c^4*d^2*e^4*g^6/(d*x + c) - 16*(b*e*x + a
*e)*B*a^4*b^3*c^4*d^2*e^4*g^6/(d*x + c) - 8*(b*e*x + a*e)*B*a^5*b^2*c^3*d^3*e^4*g^6/(d*x + c) + 24*(b*e*x + a*
e)*A*a^6*b*c^2*d^4*e^4*g^6/(d*x + c) + 70*(b*e*x + a*e)*B*a^6*b*c^2*d^4*e^4*g^6/(d*x + c) - 24*(b*e*x + a*e)*A
*a^7*c*d^5*e^4*g^6/(d*x + c) - 38*(b*e*x + a*e)*B*a^7*c*d^5*e^4*g^6/(d*x + c) + 72*(b*e*x + a*e)^2*A*b^6*c^2*d
^5*e^3*f^6/(d*x + c)^2 - 144*(b*e*x + a*e)^2*A*a*b^5*c*d^6*e^3*f^6/(d*x + c)^2 + 72*(b*e*x + a*e)^2*A*a^2*b^4*
d^7*e^3*f^6/(d*x + c)^2 - 180*(b*e*x + a*e)^2*A*b^6*c^3*d^4*e^3*f^5*g/(d*x + c)^2 + 108*(b*e*x + a*e)^2*B*b^6*
c^3*d^4*e^3*f^5*g/(d*x + c)^2 + 108*(b*e*x + a*e)^2*A*a*b^5*c^2*d^5*e^3*f^5*g/(d*x + c)^2 - 324*(b*e*x + a*e)^
2*B*a*b^5*c^2*d^5*e^3*f^5*g/(d*x + c)^2 + 324*(b*e*x + a*e)^2*A*a^2*b^4*c*d^6*e^3*f^5*g/(d*x + c)^2 + 324*(b*e
*x + a*e)^2*B*a^2*b^4*c*d^6*e^3*f^5*g/(d*x + c)^2 - 252*(b*e*x + a*e)^2*A*a^3*b^3*d^7*e^3*f^5*g/(d*x + c)^2 -
108*(b*e*x + a*e)^2*B*a^3*b^3*d^7*e^3*f^5*g/(d*x + c)^2 + 144*(b*e*x + a*e)^2*A*b^6*c^4*d^3*e^3*f^4*g^2/(d*x +
 c)^2 - 300*(b*e*x + a*e)^2*B*b^6*c^4*d^3*e^3*f^4*g^2/(d*x + c)^2 + 324*(b*e*x + a*e)^2*A*a*b^5*c^3*d^4*e^3*f^
4*g^2/(d*x + c)^2 + 660*(b*e*x + a*e)^2*B*a*b^5*c^3*d^4*e^3*f^4*g^2/(d*x + c)^2 - 756*(b*e*x + a*e)^2*A*a^2*b^
4*c^2*d^5*e^3*f^4*g^2/(d*x + c)^2 - 180*(b*e*x + a*e)^2*B*a^2*b^4*c^2*d^5*e^3*f^4*g^2/(d*x + c)^2 - 36*(b*e*x
+ a*e)^2*A*a^3*b^3*c*d^6*e^3*f^4*g^2/(d*x + c)^2 - 420*(b*e*x + a*e)^2*B*a^3*b^3*c*d^6*e^3*f^4*g^2/(d*x + c)^2
 + 324*(b*e*x + a*e)^2*A*a^4*b^2*d^7*e^3*f^4*g^2/(d*x + c)^2 + 240*(b*e*x + a*e)^2*B*a^4*b^2*d^7*e^3*f^4*g^2/(
d*x + c)^2 - 36*(b*e*x + a*e)^2*A*b^6*c^5*d^2*e^3*f^3*g^3/(d*x + c)^2 + 297*(b*e*x + a*e)^2*B*b^6*c^5*d^2*e^3*
f^3*g^3/(d*x + c)^2 - 396*(b*e*x + a*e)^2*A*a*b^5*c^4*d^3*e^3*f^3*g^3/(d*x + c)^2 - 285*(b*e*x + a*e)^2*B*a*b^
5*c^4*d^3*e^3*f^3*g^3/(d*x + c)^2 + 144*(b*e*x + a*e)^2*A*a^2*b^4*c^3*d^4*e^3*f^3*g^3/(d*x + c)^2 - 750*(b*e*x
 + a*e)^2*B*a^2*b^4*c^3*d^4*e^3*f^3*g^3/(d*x + c)^2 + 864*(b*e*x + a*e)^2*A*a^3*b^3*c^2*d^5*e^3*f^3*g^3/(d*x +
 c)^2 + 990*(b*e*x + a*e)^2*B*a^3*b^3*c^2*d^5*e^3*f^3*g^3/(d*x + c)^2 - 396*(b*e*x + a*e)^2*A*a^4*b^2*c*d^6*e^
3*f^3*g^3/(d*x + c)^2 - 75*(b*e*x + a*e)^2*B*a^4*b^2*c*d^6*e^3*f^3*g^3/(d*x + c)^2 - 180*(b*e*x + a*e)^2*A*a^5
*b*d^7*e^3*f^3*g^3/(d*x + c)^2 - 177*(b*e*x + a*e)^2*B*a^5*b*d^7*e^3*f^3*g^3/(d*x + c)^2 - 126*(b*e*x + a*e)^2
*B*b^6*c^6*d*e^3*f^2*g^4/(d*x + c)^2 + 108*(b*e*x + a*e)^2*A*a*b^5*c^5*d^2*e^3*f^2*g^4/(d*x + c)^2 - 135*(b*e*
x + a*e)^2*B*a*b^5*c^5*d^2*e^3*f^2*g^4/(d*x + c)^2 + 324*(b*e*x + a*e)^2*A*a^2*b^4*c^4*d^3*e^3*f^2*g^4/(d*x +
c)^2 + 765*(b*e*x + a*e)^2*B*a^2*b^4*c^4*d^3*e^3*f^2*g^4/(d*x + c)^2 - 576*(b*e*x + a*e)^2*A*a^3*b^3*c^3*d^4*e
^3*f^2*g^4/(d*x + c)^2 - 270*(b*e*x + a*e)^2*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^3*f^10*g/(d*x + c) - 40*(b*e*x + a*e)*b^6*c
^2*d^3*e^3*f^9*g^2/(d*x + c) - 120*(b*e*x + a*e)*a*b^5*c*d^4*e^3*f^9*g^2/(d*x + c) - 60*(b*e*x + a*e)*a^2*b^4*
d^5*e^3*f^9*g^2/(d*x + c) + 40*(b*e*x + a*e)*b^6*c^3*d^2*e^3*f^8*g^3/(d*x + c) + 240*(b*e*x + a*e)*a*b^5*c^2*d
^3*e^3*f^8*g^3/(d*x + c) + 300*(b*e*x + a*e)*a^2*b^4*c*d^4*e^3*f^8*g^3/(d*x + c) + 80*(b*e*x + a*e)*a^3*b^3*d^
5*e^3*f^8*g^3/(d*x + c) - 20*(b*e*x + a*e)*b^6*c^4*d*e^3*f^7*g^4/(d*x + c) - 240*(b*e*x + a*e)*a*b^5*c^3*d^2*e
^3*f^7*g^4/(d*x + c) - 600*(b*e*x + a*e)*a^2*b^4*c^2*d^3*e^3*f^7*g^4/(d*x + c) - 400*(b*e*x + a*e)*a^3*b^3*c*d
^4*e^3*f^7*g^4/(d*x + c) - 60*(b*e*x + a*e)*a^4*b^2*d^5*e^3*f^7*g^4/(d*x + c) + 4*(b*e*x + a*e)*b^6*c^5*e^3*f^
6*g^5/(d*x + c) + 120*(b*e*x + a*e)*a*b^5*c^4*d*e^3*f^6*g^5/(d*x + c) + 600*(b*e*x + a*e)*a^2*b^4*c^3*d^2*e^3*
f^6*g^5/(d*x + c) + 800*(b*e*x + a*e)*a^3*b^3*c^2*d^3*e^3*f^6*g^5/(d*x + c) + 300*(b*e*x + a*e)*a^4*b^2*c*d^4*
e^3*f^6*g^5/(d*x + c) + 24*(b*e*x + a*e)*a^5*b*d^5*e^3*f^6*g^5/(d*x + c) - 24*(b*e*x + a*e)*a*b^5*c^5*e^3*f^5*
g^6/(d*x + c) - 300*(b*e*x + a*e)*a^2*b^4*c^4*d*e^3*f^5*g^6/(d*x + c) - 800*(b*e*x + a*e)*a^3*b^3*c^3*d^2*e^3*
f^5*g^6/(d*x + c) - 600*(b*e*x + a*e)*a^4*b^2*c^2*d^3*e^3*f^5*g^6/(d*x + c) - 120*(b*e*x + a*e)*a^5*b*c*d^4*e^
3*f^5*g^6/(d*x + c) - 4*(b*e*x + a*e)*a^6*d^5*e^3*f^5*g^6/(d*x + c) + 60*(b*e*x + a*e)*a^2*b^4*c^5*e^3*f^4*g^7
/(d*x + c) + 400*(b*e*x + a*e)*a^3*b^3*c^4*d*e^3*f^4*g^7/(d*x + c) + 600*(b*e*x + a*e)*a^4*b^2*c^3*d^2*e^3*f^4
*g^7/(d*x + c) + 240*(b*e*x + a*e)*a^5*b*c^2*d^3*e^3*f^4*g^7/(d*x + c) + 20*(b*e*x + a*e)*a^6*c*d^4*e^3*f^4*g^
7/(d*x + c) - 80*(b*e*x + a*e)*a^3*b^3*c^5*e^3*f^3*g^8/(d*x + c) - 300*(b*e*x + a*e)*a^4*b^2*c^4*d*e^3*f^3*g^8
/(d*x + c) - 240*(b*e*x + a*e)*a^5*b*c^3*d^2*e^3*f^3*g^8/(d*x + c) - 40*(b*e*x + a*e)*a^6*c^2*d^3*e^3*f^3*g^8/
(d*x + c) + 60*(b*e*x + a*e)*a^4*b^2*c^5*e^3*f^2*g^9/(d*x + c) + 120*(b*e*x + a*e)*a^5*b*c^4*d*e^3*f^2*g^9/(d*
x + c) + 40*(b*e*x + a*e)*a^6*c^3*d^2*e^3*f^2*g^9/(d*x + c) - 24*(b*e*x + a*e)*a^5*b*c^5*e^3*f*g^10/(d*x + c)
- 20*(b*e*x + a*e)*a^6*c^4*d*e^3*f*g^10/(d*x + c) + 4*(b*e*x + a*e)*a^6*c^5*e^3*g^11/(d*x + c) + 6*(b*e*x + a*
e)^2*b^5*d^6*e^2*f^11/(d*x + c)^2 - 36*(b*e*x + a*e)^2*b^5*c*d^5*e^2*f^10*g/(d*x + c)^2 - 30*(b*e*x + a*e)^2*a
*b^4*d^6*e^2*f^10*g/(d*x + c)^2 + 90*(b*e*x + a*e)^2*b^5*c^2*d^4*e^2*f^9*g^2/(d*x + c)^2 + 180*(b*e*x + a*e)^2
*a*b^4*c*d^5*e^2*f^9*g^2/(d*x + c)^2 + 60*(b*e*x + a*e)^2*a^2*b^3*d^6*e^2*f^9*g^2/(d*x + c)^2 - 120*(b*e*x + a
*e)^2*b^5*c^3*d^3*e^2*f^8*g^3/(d*x + c)^2 - 450*(b*e*x + a*e)^2*a*b^4*c^2*d^4*e^2*f^8*g^3/(d*x + c)^2 - 360*(b
*e*x + a*e)^2*a^2*b^3*c*d^5*e^2*f^8*g^3/(d*x + c)^2 - 60*(b*e*x + a*e)^2*a^3*b^2*d^6*e^2*f^8*g^3/(d*x + c)^2 +
 90*(b*e*x + a*e)^2*b^5*c^4*d^2*e^2*f^7*g^4/(d*x + c)^2 + 600*(b*e*x + a*e)^2*a*b^4*c^3*d^3*e^2*f^7*g^4/(d*x +
 c)^2 + 900*(b*e*x + a*e)^2*a^2*b^3*c^2*d^4*e^2*f^7*g^4/(d*x + c)^2 + 360*(b*e*x + a*e)^2*a^3*b^2*c*d^5*e^2*f^
7*g^4/(d*x + c)^2 + 30*(b*e*x + a*e)^2*a^4*b*d^6*e^2*f^7*g^4/(d*x + c)^2 - 36*(b*e*x + a*e)^2*b^5*c^5*d*e^2*f^
6*g^5/(d*x + c)^2 - 450*(b*e*x + a*e)^2*a*b^4*c^4*d^2*e^2*f^6*g^5/(d*x + c)^2 - 1200*(b*e*x + a*e)^2*a^2*b^3*c
^3*d^3*e^2*f^6*g^5/(d*x + c)^2 - 900*(b*e*x + a*e)^2*a^3*b^2*c^2*d^4*e^2*f^6*g^5/(d*x + c)^2 - 180*(b*e*x + a*
e)^2*a^4*b*c*d^5*e^2*f^6*g^5/(d*x + c)^2 - 6*(b*e*x + a*e)^2*a^5*d^6*e^2*f^6*g^5/(d*x + c)^2 + 6*(b*e*x + a*e)
^2*b^5*c^6*e^2*f^5*g^6/(d*x + c)^2 + 180*(b*e*x + a*e)^2*a*b^4*c^5*d*e^2*f^5*g^6/(d*x + c)^2 + 900*(b*e*x + a*
e)^2*a^2*b^3*c^4*d^2*e^2*f^5*g^6/(d*x + c)^2 + 1200*(b*e*x + a*e)^2*a^3*b^2*c^3*d^3*e^2*f^5*g^6/(d*x + c)^2 +
450*(b*e*x + a*e)^2*a^4*b*c^2*d^4*e^2*f^5*g^6/(d*x + c)^2 + 36*(b*e*x + a*e)^2*a^5*c*d^5*e^2*f^5*g^6/(d*x + c)
^2 - 30*(b*e*x + a*e)^2*a*b^4*c^6*e^2*f^4*g^7/(d*x + c)^2 - 360*(b*e*x + a*e)^2*a^2*b^3*c^5*d*e^2*f^4*g^7/(d*x
 + c)^2 - 900*(b*e*x + a*e)^2*a^3*b^2*c^4*d^2*e^2*f^4*g^7/(d*x + c)^2 - 600*(b*e*x + a*e)^2*a^4*b*c^3*d^3*e^2*
f^4*g^7/(d*x + c)^2 - 90*(b*e*x + a*e)^2*a^5*c^2*d^4*e^2*f^4*g^7/(d*x + c)^2 + 60*(b*e*x + a*e)^2*a^2*b^3*c^6*
e^2*f^3*g^8/(d*x + c)^2 + 360*(b*e*x + a*e)^2*a^3*b^2*c^5*d*e^2*f^3*g^8/(d*x + c)^2 + 450*(b*e*x + a*e)^2*a^4*
b*c^4*d^2*e^2*f^3*g^8/(d*x + c)^2 + 120*(b*e*x + a*e)^2*a^5*c^3*d^3*e^2*f^3*g^8/(d*x + c)^2 - 60*(b*e*x + a*e)
^2*a^3*b^2*c^6*e^2*f^2*g^9/(d*x + c)^2 - 180*(b*e*x + a*e)^2*a^4*b*c^5*d*e^2*f^2*g^9/(d*x + c)^2 - 90*(b*e*x +
 a*e)^2*a^5*c^4*d^2*e^2*f^2*g^9/(d*x + c)^2 + 30*(b*e*x + a*e)^2*a^4*b*c^6*e^2*f*g^10/(d*x + c)^2 + 36*(b*e*x
+ a*e)^2*a^5*c^5*d*e^2*f*g^10/(d*x + c)^2 - 6*(b*e*x + a*e)^2*a^5*c^6*e^2*g^11/(d*x + c)^2 - 4*(b*e*x + a*e)^3
*b^4*d^7*e*f^11/(d*x + c)^3 + 28*(b*e*x + a*e)^3*b^4*c*d^6*e*f^10*g/(d*x + c)^3 + 16*(b*e*x + a*e)^3*a*b^3*d^7
*e*f^10*g/(d*x + c)^3 - 84*(b*e*x + a*e)^3*b^4*c^2*d^5*e*f^9*g^2/(d*x + c)^3 - 112*(b*e*x + a*e)^3*a*b^3*c*d^6
*e*f^9*g^2/(d*x + c)^3 - 24*(b*e*x + a*e)^3*a^2*b^2*d^7*e*f^9*g^2/(d*x + c)^3 + 140*(b*e*x + a*e)^3*b^4*c^3*d^
4*e*f^8*g^3/(d*x + c)^3 + 336*(b*e*x + a*e)^3*a*b^3*c^2*d^5*e*f^8*g^3/(d*x + c)^3 + 168*(b*e*x + a*e)^3*a^2*b^
2*c*d^6*e*f^8*g^3/(d*x + c)^3 + 16*(b*e*x + a*e)^3*a^3*b*d^7*e*f^8*g^3/(d*x + c)^3 - 140*(b*e*x + a*e)^3*b^4*c
^4*d^3*e*f^7*g^4/(d*x + c)^3 - 560*(b*e*x + a*e)^3*a*b^3*c^3*d^4*e*f^7*g^4/(d*x + c)^3 - 504*(b*e*x + a*e)^3*a
^2*b^2*c^2*d^5*e*f^7*g^4/(d*x + c)^3 - 112*(b*e*x + a*e)^3*a^3*b*c*d^6*e*f^7*g^4/(d*x + c)^3 - 4*(b*e*x + a*e)
^3*a^4*d^7*e*f^7*g^4/(d*x + c)^3 + 84*(b*e*x + a*e)^3*b^4*c^5*d^2*e*f^6*g^5/(d*x + c)^3 + 560*(b*e*x + a*e)^3*
a*b^3*c^4*d^3*e*f^6*g^5/(d*x + c)^3 + 840*(b*e*x + a*e)^3*a^2*b^2*c^3*d^4*e*f^6*g^5/(d*x + c)^3 + 336*(b*e*x +
 a*e)^3*a^3*b*c^2*d^5*e*f^6*g^5/(d*x + c)^3 + 28*(b*e*x + a*e)^3*a^4*c*d^6*e*f^6*g^5/(d*x + c)^3 - 28*(b*e*x +
 a*e)^3*b^4*c^6*d*e*f^5*g^6/(d*x + c)^3 - 336*(b*e*x + a*e)^3*a*b^3*c^5*d^2*e*f^5*g^6/(d*x + c)^3 - 840*(b*e*x
 + a*e)^3*a^2*b^2*c^4*d^3*e*f^5*g^6/(d*x + c)^3 - 560*(b*e*x + a*e)^3*a^3*b*c^3*d^4*e*f^5*g^6/(d*x + c)^3 - 84
*(b*e*x + a*e)^3*a^4*c^2*d^5*e*f^5*g^6/(d*x + c)^3 + 4*(b*e*x + a*e)^3*b^4*c^7*e*f^4*g^7/(d*x + c)^3 + 112*(b*
e*x + a*e)^3*a*b^3*c^6*d*e*f^4*g^7/(d*x + c)^3 + 504*(b*e*x + a*e)^3*a^2*b^2*c^5*d^2*e*f^4*g^7/(d*x + c)^3 + 5
60*(b*e*x + a*e)^3*a^3*b*c^4*d^3*e*f^4*g^7/(d*x + c)^3 + 140*(b*e*x + a*e)^3*a^4*c^3*d^4*e*f^4*g^7/(d*x + c)^3
 - 16*(b*e*x + a*e)^3*a*b^3*c^7*e*f^3*g^8/(d*x + c)^3 - 168*(b*e*x + a*e)^3*a^2*b^2*c^6*d*e*f^3*g^8/(d*x + c)^
3 - 336*(b*e*x + a*e)^3*a^3*b*c^5*d^2*e*f^3*g^8/(d*x + c)^3 - 140*(b*e*x + a*e)^3*a^4*c^4*d^3*e*f^3*g^8/(d*x +
 c)^3 + 24*(b*e*x + a*e)^3*a^2*b^2*c^7*e*f^2*g^9/(d*x + c)^3 + 112*(b*e*x + a*e)^3*a^3*b*c^6*d*e*f^2*g^9/(d*x
+ c)^3 + 84*(b*e*x + a*e)^3*a^4*c^5*d^2*e*f^2*g^9/(d*x + c)^3 - 16*(b*e*x + a*e)^3*a^3*b*c^7*e*f*g^10/(d*x + c
)^3 - 28*(b*e*x + a*e)^3*a^4*c^6*d*e*f*g^10/(d*x + c)^3 + 4*(b*e*x + a*e)^3*a^4*c^7*e*g^11/(d*x + c)^3 + (b*e*
x + a*e)^4*b^3*d^8*f^11/(d*x + c)^4 - 8*(b*e*x + a*e)^4*b^3*c*d^7*f^10*g/(d*x + c)^4 - 3*(b*e*x + a*e)^4*a*b^2
*d^8*f^10*g/(d*x + c)^4 + 28*(b*e*x + a*e)^4*b^3*c^2*d^6*f^9*g^2/(d*x + c)^4 + 24*(b*e*x + a*e)^4*a*b^2*c*d^7*
f^9*g^2/(d*x + c)^4 + 3*(b*e*x + a*e)^4*a^2*b*d^8*f^9*g^2/(d*x + c)^4 - 56*(b*e*x + a*e)^4*b^3*c^3*d^5*f^8*g^3
/(d*x + c)^4 - 84*(b*e*x + a*e)^4*a*b^2*c^2*d^6*f^8*g^3/(d*x + c)^4 - 24*(b*e*x + a*e)^4*a^2*b*c*d^7*f^8*g^3/(
d*x + c)^4 - (b*e*x + a*e)^4*a^3*d^8*f^8*g^3/(d*x + c)^4 + 70*(b*e*x + a*e)^4*b^3*c^4*d^4*f^7*g^4/(d*x + c)^4
+ 168*(b*e*x + a*e)^4*a*b^2*c^3*d^5*f^7*g^4/(d*x + c)^4 + 84*(b*e*x + a*e)^4*a^2*b*c^2*d^6*f^7*g^4/(d*x + c)^4
 + 8*(b*e*x + a*e)^4*a^3*c*d^7*f^7*g^4/(d*x + c)^4 - 56*(b*e*x + a*e)^4*b^3*c^5*d^3*f^6*g^5/(d*x + c)^4 - 210*
(b*e*x + a*e)^4*a*b^2*c^4*d^4*f^6*g^5/(d*x + c)^4 - 168*(b*e*x + a*e)^4*a^2*b*c^3*d^5*f^6*g^5/(d*x + c)^4 - 28
*(b*e*x + a*e)^4*a^3*c^2*d^6*f^6*g^5/(d*x + c)^4 + 28*(b*e*x + a*e)^4*b^3*c^6*d^2*f^5*g^6/(d*x + c)^4 + 168*(b
*e*x + a*e)^4*a*b^2*c^5*d^3*f^5*g^6/(d*x + c)^4 + 210*(b*e*x + a*e)^4*a^2*b*c^4*d^4*f^5*g^6/(d*x + c)^4 + 56*(
b*e*x + a*e)^4*a^3*c^3*d^5*f^5*g^6/(d*x + c)^4 - 8*(b*e*x + a*e)^4*b^3*c^7*d*f^4*g^7/(d*x + c)^4 - 84*(b*e*x +
 a*e)^4*a*b^2*c^6*d^2*f^4*g^7/(d*x + c)^4 - 168*(b*e*x + a*e)^4*a^2*b*c^5*d^3*f^4*g^7/(d*x + c)^4 - 70*(b*e*x
+ a*e)^4*a^3*c^4*d^4*f^4*g^7/(d*x + c)^4 + (b*e*x + a*e)^4*b^3*c^8*f^3*g^8/(d*x + c)^4 + 24*(b*e*x + a*e)^4*a*
b^2*c^7*d*f^3*g^8/(d*x + c)^4 + 84*(b*e*x + a*e)^4*a^2*b*c^6*d^2*f^3*g^8/(d*x + c)^4 + 56*(b*e*x + a*e)^4*a^3*
c^5*d^3*f^3*g^8/(d*x + c)^4 - 3*(b*e*x + a*e)^4*a*b^2*c^8*f^2*g^9/(d*x + c)^4 - 24*(b*e*x + a*e)^4*a^2*b*c^7*d
*f^2*g^9/(d*x + c)^4 - 28*(b*e*x + a*e)^4*a^3*c^6*d^2*f^2*g^9/(d*x + c)^4 + 3*(b*e*x + a*e)^4*a^2*b*c^8*f*g^10
/(d*x + c)^4 + 8*(b*e*x + a*e)^4*a^3*c^7*d*f*g^10/(d*x + c)^4 - (b*e*x + a*e)^4*a^3*c^8*g^11/(d*x + c)^4))*(b*
c/((b*c*e - a*d*e)*(b*c - a*d)) - a*d/((b*c*e - a*d*e)*(b*c - a*d)))

Mupad [B] (verification not implemented)

Time = 12.46 (sec) , antiderivative size = 2518, normalized size of antiderivative = 6.64 \[ \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(f+g x)^5} \, dx=\text {Too large to display} \]

[In]

int((A + B*log((e*(a + b*x))/(c + d*x)))/(f + g*x)^5,x)

[Out]

(log(f + g*x)*(g*(6*B*a^2*b^2*d^4*f^2 - 6*B*b^4*c^2*d^2*f^2) - g^2*(4*B*a^3*b*d^4*f - 4*B*b^4*c^3*d*f) + g^3*(
B*a^4*d^4 - B*b^4*c^4) - 4*B*a*b^3*d^4*f^3 + 4*B*b^4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